package com.liming.common.pojo.vo.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author liming
 * @date 2025/2/16
 */
@Data
@Schema(description = "角色VO")
public class RoleVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色ID")
    private Long id;

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色对应权限列表")
    private List<PermissionVO> permissions;
}
